import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './mock' // 引入mock配置
import loading from './directives/loading'

Vue.config.productionTip = false
//v-loading指令
Vue.directive('loading', loading)

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
